package com.bwie.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @program: day0617mounth
 * @ClassName TbStudent
 * @description:
 * @author: 段阳
 * @create: 2024-06-17 09:39
 **/
@Data
@TableName("tb_student")
public class TbStudent {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private String studentName;
    private String idCard;
    private String studentMobile;
    private String studentNumber;
    private Integer age;
    private Integer gender;
    private String address;
    private Integer classId;
    @TableField(exist = false)
    private String className;
    private String familyName;
    private String familyMobile;
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
}